package com.app.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class PersonAop {

	@Pointcut("execution(* com.app.service..*.get*(..))")
	public void persion(){}
	
	@Before("persion()")
	public void Before(){
		System.out.println("<><><><><><>>>>>>>>>>>>>>>>>>>>>>>>>>>>>I,m franck<<<<<<<<<<<<<<<<<<<<<<<<");
	}
}
